@charset "utf-8";
@import "reset";
@import "common";
//处理px单位的值，转换为rem单位
@function r($px) {
    @return $px/100px*1rem;
}

body {
    .index {
        font-size: 12px;
        a {
            color: black;
        }
        /*头部导航栏*/
        header {
            color: white;
            height: 44.5px;
            background-color: #b20000;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 r(16px);
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 2;
            .caidanlan {
                //              background-color: green;
                width: r(60px);
                height: r(60px);
                line-height: r(60px);
                position: relative;
                .message {
                    width: r(28px);
                    height: r(28px);
                    text-align: center;
                    line-height: r(28px);
                    border-radius: 50%;
                    background-color: #ff0000;
                    position: absolute;
                    top: 0;
                    left: r(20px);
                    a {
                        font-size: 11px;
                        color: white;
                    }
                }
            }
            >img {
                width: r(264px);
                height: 20px;
            }
            >img:last-of-type {
                width: 0.3rem;
            }
        }
        .content {
            margin-top: 44.5px;
            .tencentVideo-earnings{
                padding: r(42px) r(28px) r(29px);
                h3{
                    font-size: 15px;
                    line-height: 15px;
                }
                p{
                    font-size: 11px;
                    color: #8B8B8B;
                    &:first-of-type{
                        margin: r(16px) 0 r(52px);
                    }
                    &:last-of-type{
                        margin-bottom: r(27px);
                    }
                    span{
                        font-size: 10px;
                        color: #C5C5C5;                       
                        &:first-of-type{
                            margin-right: r(18px);
                        }
                        img{
                            width: 0.2rem;
                        }
                    }
                }
                .tencentVideo-earnings-img{
                    font-size: 0;
                    width: 100%;
                    img{
                        width: 100%;
                    }
                }
            }
            .tencentVideo-contact{
                >p{
                    font-size: 15px;
                    color: #8e8d8d;
                    border-top: #e6e6e6 solid 1px;
                    margin: 0 r(28px) r(9px);
                    padding-top: r(36px);
                }
            }
            .contact {
                height: r(151px);
                display: flex;
                justify-content: space-around;
                background-color: #B20000;
                text-align: center;
                padding: 12px 0;
                font-size: 0;  
                li {
                    width: 33.33%;
                    height: r(115px);
                    font-size: 12px;
                    color: white;
                    padding-top: r(18px);
                    border-right: white solid 1px;
                    &:last-of-type {
                        border-right: 0;
                    }
                    img {
                        width: 0.5rem;
                    }
                    a {
                        color: white;
                    }
                }
                .active {
                    a {
                        color: #B20000;
                    }
                }
            }
            
        }
        /*底部导航栏*/
        footer {
            border-top: #C5C5C5 solid 1px;
            position: fixed;
            bottom: 0;
            width: 100%;
            ul {
                height: 60px;
                display: flex;
                justify-content: space-around;
                background-color: #f5f5f5;
                text-align: center;
                padding: 12px 0;
                li {
                    width: 20%;
                    color: #C5C5C5;
                    border-right: #C5C5C5 solid 1px;
                    &:last-of-type {
                        border-right: 0;
                    }
                    img {
                        width: 0.5rem;
                    }
                    a {
                        color: #C5C5C5;
                        &:hover{
                           color: #B20000; 
                        }
                    }
                }
                .active {
                    a {
                        color: #B20000;
                    }
                }
            }
        }
    }
}